package com.zto.sch.advance.aqs;


/**
 * @program: sch-diy-parent
 * @description:
 * @author: sc
 * @create: 2021-01-13 09:40
 **/
public class MySynchronized {
    private int count = 0;

    public synchronized void save() {

    }


    public static synchronized void update() {
    }
    public String queryName() {
        synchronized (this) {
            for (int i = 0; i < i; i++) {
                count++;
                count++;
                count++;
                count++;
            }
        }
        System.out.println("haha");

        return "haha";
    }
}
